/*    */ package com.yc.web.station;
/*    */ 
/*    */ import com.yc.dao.model.StoragebatteryBO;
/*    */ import com.yc.service.station.StorageBatteryService;
/*    */ import com.yc.util.ListContentsBFO;
/*    */ import java.util.Map;
/*    */ 
/*    */ public class StorageBatteryWeb
/*    */ {
/*    */   StorageBatteryService storageBatteryService;
/*    */ 
/*    */   public StorageBatteryWeb()
/*    */   {
/* 14 */     this.storageBatteryService = new StorageBatteryService();
/*    */   }
/*    */ 
/*    */   public ListContentsBFO getStorageBatteryList(Map condition) {
/* 18 */     return this.storageBatteryService.getStorageBatteryList(condition);
/*    */   }
/*    */ 
/*    */   public boolean saveStoragebatteryBO(StoragebatteryBO bo) {
/* 22 */     String strID = bo.getId();
/* 23 */     if ((strID == null) || ("".equalsIgnoreCase(strID.trim()))) {
/* 24 */       return this.storageBatteryService.saveStoragebatteryBO(bo);
/*    */     }
/* 26 */     return this.storageBatteryService.updateStoragebatteryBO(bo);
/*    */   }
/*    */ 
/*    */   public boolean deleteStoragebatteryBO(String strID) {
/* 30 */     return this.storageBatteryService.deleteStoragebatteryBO(strID);
/*    */   }
/*    */ 
/*    */   public ListContentsBFO getStorageBatteryByBtsName(Map condition)
/*    */   {
/* 35 */     return this.storageBatteryService.getStorageBatteryByBtsName(condition);
/*    */   }
/*    */ }

/* Location:           E:\java\apache-tomcat-6.0.36\webapps\btsm\WEB-INF\classes\
 * Qualified Name:     com.yc.web.station.StorageBatteryWeb
 * JD-Core Version:    0.6.2
 */